Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/improvedgpu: Fixing a bug so that now the user can specify GPU training #23

Merged
merged 3 commits into from
May 15, 2024

Conversation

florencejt
Copy link
Owner

Passing the argument training_modifications to train.train_and_save_model allows the user to use GPU/MPS to train their models, and also to choose the number of devices.

The argument is a dictionary with the keys accelerator and devices.

This is not implemented for subspace methods yet.

…the accelerator and number of devices can be specified. Also changed the metrics_utils calculations to put the metric equations onto whatever device the data is on.
…y not implemented for subspace methods but that is on the list
@florencejt florencejt merged commit cbe2bbc into main May 15, 2024
@florencejt florencejt deleted the refactor/improvedgpu branch May 15, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant